<template>
  <div class="wrapper">
    <div class="newsType">
      <div class="title">
        <i class="el-icon-menu"></i> &nbsp;应用系统
      </div>
      <div class="more cursor">

      </div>

    </div>
    <div class="jump-link">
      <div v-for="(item, index) in links" :key="index" class="link-item" @click="openLink(item.link)">
        <div class="icon-container">
          <i :class="item.icon"></i>
        </div>
        <div>{{ item.text }}</div>
      </div>
    </div>
  </div>
</template>

<script>  
export default {  
  data() {  
    return {  
      links: [  
        { icon: 'el-icon-menu', text: '消防业务信息系统', link: '' },  
        { icon: 'el-icon-s-opportunity', text: '重点单位信息系统', link: '' },  
        { icon: 'el-icon-location', text: '消防应用GIS系统', link: '' },
        { icon: 'el-icon-s-data', text: '火灾和警情统计管理系统', link: '' },
        { icon: 'el-icon-camera-solid', text: '火灾隐患网上追踪系统', link: '' },
        { icon: 'el-icon-s-platform', text: '在线考试系统', link: '' },
        { icon: 'el-icon-s-home', text: '消防资格证书管理系统', link: '' },
        { icon: 'el-icon-s-claim', text: '重大危险源评估系统', link: '' },
        { icon: 'el-icon-s-custom', text: '个人被装按需申领系统', link: '' },
      ],  
    };  
  },  
  methods: {  
    openLink(link) {  
      window.open(link, '_blank'); // 在新窗口（新标签页）中打开链接  
    },  
  },  
};  
</script>  

<style scoped lang="less">
.wrapper {
  padding-top: 8px;
}

.newsType {
  display: flex;
  justify-content: space-between;
  /*border: red 1px solid;*/
}

.title {
  font-size: 20px;
  color: #2275a1;
  white-space: nowrap;
  border-bottom: 3px solid #2275a1;
}

.more {
  width: 100%;
  justify-content: right;
  border-bottom: 3px solid rgb(123, 134, 141);
}


.jump-link {
  display: flex;
  font-size: 13px;
  flex-wrap: wrap;
}

.jump-link>div {
  text-align: center;
  cursor: pointer;
  margin-right: 29px;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.jump-link .icon-container {
  align-items: center;
  margin-bottom: 5px;
  margin-top: 20px;
}

.jump-link i {
  color: #0a7ebb;
  font-size: 60px;
  align-items: center;
}
</style>